import request from '../request'
// import qs from 'qs'

/**
 * 获取验证码
 */
export const getCaptcha = () => {
  return request.get('/net_backend/captcha')
}

export const login = (data:any) => {
  return request.post('/redis/auth_app/login/', data)
}
/**
 * 获取用户信息
 */
export const getUserInfo = () => {
  return request.get('/rbac/sz_userinfo/', {
    params: {
      navigate__id: 2
    }
  })
}
/**
 * 获取权限路由
 */
export const getPermiseRoute = () => {
  return {
    results: []
  }
}